import request from '@/utils/request'


// export function searchPayment(order_sn, type) {
//   return request({
//     url: '/finance/searchPayment/' + order_sn + '/' + type,
//     method: 'get'
//   })
// }
// 列表
export function channelBankList(data) {
  return request({
    url: 'backe_channel_bank_list',
    method: 'post',
    data
  })
}
// 修改
export function editOrCreateSubmit(data) {
  return request({
    url: 'backe_channel_bank_update_insert',
    method: 'post',
    data
  })
}
// 订单绑定渠道账户
export function submmitChannel(data) {
  return request({
    url: 'backe_finance_order_to_channel',
    method: 'post',
    data
  })
}
export function channeltExcelout(data) {
  return request({
    url: 'backe_channel_excelout',
    method: 'post',
    data
  })
}
export function holdorderExcelout(data) {
  return request({
    url: 'backe_holdorder_excelout',
    method: 'post',
    data
  })
}
// 订单押款
export function transferToHold(data) {
  return request({
    url: 'backe_hold_order',
    method: 'post',
    data
  })
}
// 订单押款列表
export function holdOrderList(data) {
  return request({
    url: 'backe_hold_list',
    method: 'post',
    data
  })
}
// 订单押款备注
export function addDescHold(data) {
  return request({
    url: 'backe_hold_order_desc',
    method: 'post',
    data
  })
}
